import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'//引入axios
// import '@/utils/rem'
import { Container, Header,   Aside,
  Main,
  Footer, Menu,   Submenu,
  MenuItem,
  MenuItemGroup,
    Dialog,
    Form,
    Input,
    Select,
    FormItem, Option, Message, Switch,
    Table, TableColumn, Pagination,Popconfirm,Col,DatePicker,Row,Notification,MessageBox,
Button} from 'element-ui'
import dataV from '@jiaminghi/data-view'

import request from '@/config/request'
Vue.prototype.request = request

Vue.use(dataV)
console.log(111333);


Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$message = Message;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$notify = Notification;
Vue.use(Container).use(Header).use(Aside).use(Main).use(Menu).use(Footer).use(Submenu).use(MenuItem).use(MenuItemGroup).use(Button).use(Dialog)
    .use(Form).use(Select).use(Input).use(FormItem).use(Option).use(Table).use(TableColumn).use(Pagination).use(Popconfirm).use(Switch).use(Col).use(DatePicker).use(Row)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
